package com.ruoyi.common.constant;

/**
 * @Author yinqingqin
 * @Date 2021/12/8 21:00
 * @Email yin_qingqin@163.com
 */
public class AnnouncementConstants {

    public static final String FINISHEXAM = "%s，完成了考试！";

    public static final String FINISHTRAIN = "%s，完成了培训！";

    public static String getMessage(String messageBody, String nameCn) {
        return String.format(messageBody, nameCn);
    }

    public static void main(String[] args) {
        System.out.println(getMessage(FINISHEXAM,"尹清钦"));
    }

}
